(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Write a node that performs analog input and output operations.

Description: Setup a node to use the Sensoray 626 for analog input and output operations.

Keywords: ADC, DAC

Tutorial Level: BEGINNER

Much of the code here is taken directly from Sensoray's API documentation which can be found here.

Setup the Package

First we will create our tutorial package sensoray_tutorial, with roscpp and sensoray626 as dependencies.

roscreate-pkg sensoray_tutorial roscpp sensoray626 

Add the following line to CMakeLists.txt to link to the library in the sensoray626 package.

target_link_libraries(YOUR_EXECUTABLE_NAME_HERE sensoray626)

Analog Input

To do...

Analog Output

To do...

Wiki: sensoray626/Tutorials/Write a node that performs analog input and output operations. (last edited 2011-06-21 20:00:52 by WilliamMcMahan)